﻿<%@ Page Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true" CodeBehind="schedule.aspx.cs" Inherits="CRM.admin.schedule" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridView1" runat="server" Width="744px" 
    AutoGenerateColumns="False" BackColor="White" BorderColor="#336666" 
    BorderStyle="Double" BorderWidth="3px" CellPadding="4" GridLines="Horizontal" 
        onrowcommand="GridView1_RowCommand">
        <RowStyle BackColor="White" ForeColor="#333333" />
        <Columns>
            <asp:BoundField HeaderText="schedule" DataField="SC_ID" />
            <asp:BoundField HeaderText="schedule type"  DataField="SC_TYPE"/>
            <asp:BoundField HeaderText="description" DataField="SC_DESCRIPTION" />
            <asp:BoundField HeaderText="date"  DataField="DATE"/>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Button ID="DTNDELET" runat="server" Text="DELETE" 
                    CommandName="delete" CommandArgument= '<%# Eval("SC_ID")%>' />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
</asp:Content>
